package net.csdn.business.common.domain.request.discuss;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 更新讨论配置对象DTO discuss_config
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UpdateAIConfigDTO implements Serializable
{

    private static final long serialVersionUID = 1L;


    @NotBlank(message = "targetId不能为空")
    private String targetId;

    /**
     * 目标主体类型：1：个人；2：组织
     */
    private Integer targetType;
    @NotNull(message = "isOpen不能为空")
    private Boolean isOpen;
    /** 创建人 */
    private String currUserId;
}
